from Utils.router import router
from Utils.gy import mallcoodatas


@router.get('/gy/shopsys', tags=['猫酷&销采数据'], summary='销售排行前10店铺')
async def shopsys():
    shop = mallcoodatas.get_shopmoney()
    mallcoomoney = mallcoodatas.Consumption_points()
    return {'shopname': shop[1], 'shopmoney': shop[0], 'mallmoney': mallcoomoney}
